import Vue from "vue";
import Vuex from "vuex";
Vue.use(Vuex);
export default new Vuex.Store({
	state:{
		isShowLeftMenu:false
	},
	mutations:{
		showLeftMenu(state){
			state.isShowLeftMenu=true;
		},
		hideLeftMenu(state){
			state.isShowLeftMenu=false;
		}
	},
	actions:{
		showLeftMenu({commit}){
			commit("showLeftMenu");
		},
		hideLeftMenu({commit}){
			commit("hideLeftMenu");
		}
	}
});